package com.cloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cloud.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 租户信息表
 *
 * @author wwkk
 * @date 2019-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_tentant")
@ApiModel(value="BaseTentant对象", description="租户信息表")
public class BaseTentant extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "租户ID")
    @TableId(value = "tentant_id", type = IdType.ID_WORKER)
    private Long tentantId;

    @ApiModelProperty(value = "租户名称")
    private String tentantName;

    @ApiModelProperty(value = "租户描述")
    private String tentantDesc;


}
